package com.zzyl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingProjectMapper extends BaseMapper<NursingProject> {

    /**
     * 分页查询
     * @param name
     * @param status
     * @return
     */
    Page<NursingProject> selectByPage(@Param("name") String name, @Param("status") Integer status);

//    int insert(NursingProject nursingProject);

//    NursingProjectVo selectById(Integer id);

//    int deleteById(Integer id);

//    int updateStatus(Integer id, Integer status);

//    int updateInfo(NursingProject bean);

    List<NursingProject> listAll();
}

